package com.example.commons.service;

import com.example.commons.domain.User;

import javax.jws.WebService;
import java.util.List;

/**
 * @author linjy on 2023/8/25
 */
@WebService(name = "MyService", // 暴露服务名称
        targetNamespace = "http://service.commons.example.com"// 命名空间,一般是接口的包名倒序
)
public interface MyService {

    String sayHello(String msg);

    List<User> getUsers();

}
